<?php


class Data_Model_ChiTietKhoaHoc extends \Data_Model_DomainObjectAbstract {
	private $_makhoahoc = null;
	private $_mahocvien = null;
	private $_buoihoc = null;
	private $_cahoc = null;
	private $_hocvien = array();
	private $_khoahoc = array();
	
	/**
	 * @return the $_makhoahoc
	 */
	public function getMakhoahoc() {
		return $this->_makhoahoc;
	}

	/**
	 * @param NULL $_makhoahoc
	 */
	public function setMakhoahoc($makhoahoc) {
		$this->_makhoahoc = $makhoahoc;
	}

	/**
	 * @return the $_khoahoc
	 */
	public function getKhoahoc() {
		return $this->_khoahoc;
	}

	/**
	 * @param multitype: $_khoahoc
	 */
	public function setKhoahoc($khoahoc) {
		$this->_khoahoc = $khoahoc;
	}
	/**
	 * @return the $_mahocvien
	 */
	public function getMahocvien() {
		return $this->_mahocvien;
	}

	/**
	 * @param NULL $_mahocvien
	 */
	public function setMahocvien($mahocvien) {
		$this->_mahocvien = $mahocvien;
	}

	/**
	 * @return the $_buoihoc
	 */
	public function getBuoihoc() {
		return $this->_buoihoc;
	}

	/**
	 * @param NULL $_buoihoc
	 */
	public function setBuoihoc($buoihoc) {
		$this->_buoihoc = $buoihoc;
	}
	
	public function getTenbuoihoc()
	{
		if($this->_buoihoc == 1)
		{
			$this->_buoihoc = 'Buổi sáng';
		}
		elseif($this->_buoihoc == 0){
			$this->_buoihoc = 'Buổi chiều';
		}
		else 
		{
			$this->_buoihoc = 'Buổi tối';
		}
		return $this->_buoihoc;
	}

	/**
	 * @return the $_cahoc
	 */
	public function getCahoc() {
		return $this->_cahoc;
	}

	/**
	 * @param NULL $_cahoc
	 */
	public function setCahoc($cahoc) {
		$this->_cahoc = $cahoc;
	}
	
	public function getTencahoc()
	{
		if($this->_cahoc == 1)
		{
			$this->_cahoc = '2-4-6';
		}
		else
		{
			$this->_cahoc = '3-5-7';
		}
		return $this->_cahoc;
	}
	
	/**
	 * @return the $_hocvien
	 */
	public function getHocvien() {
		return $this->_hocvien;
	}

	/**
	 * @param multitype: $_hocvien
	 */
	public function setHocvien($hocvien) {
		$this->_hocvien = $hocvien;
	}

	
	
}

?>